@media handheld {
	#quicknav {
		padding: 0 0 0.5em 0;
		margin: 0;
		width: 100%;
	}

	#quicknav li {
		padding: 0;
		margin: 0;
		list-style-type: none;
	}

	#ntnuheader,
	#footer,
	#meta,
	#ntnufooter,
	#quicknav_globalnav,
	#quicknav_content,
	.printOnly {
		display: none;
	}
}

@media print {

	.offscreen,
	#header,
	#meta,
	#footer,
	#ntnufooter,
	#menu {
		display:none
	}

	#sidebar {
		page-break-before: always;
	}

	body {
		font: 10pt Arial, Verdana, Helvetica, sans-serif;
		color: black;
	}

	a {
	  color: __text__;
	  background: none !important;
	}

	#breadcrumbs {
		font-size: 8pt !important;
		border-bottom: 1pt solid black !important;
		padding-bottom: 1em;
	}

	#breadcrumbs a:after{
		content: "" !important;
	}

	/* --------------------- Text formating -------------------------------- */

	/* print links */
	a.wikilink1:after,
	a.interwiki:after,
	a.mail:after,
	a.urlextern:after
	{
	   content: " (" attr(href) ")";
	   font-size: 80%;
	   color: #000;
	}

	/* hide print links if JS library is in place*/
	html.noted a.interwiki:after,
	html.noted a.mail:after,
	html.noted a.urlextern:after
	{
		content: "";
	}

	/* footnotes */
	div.footnotes{
	  clear:both;
	  border-top: 1px solid __text__;
	  padding-left: 1em;
	  margin-top: 1em;
	}

	div.fn{
	  font-size:90%;
	}

	a.fn_top{
	  vertical-align:super;
	  font-size:80%;
	}

	a.fn_bot{
	  vertical-align:super;
	  font-size:80%;
	  font-weight:bold;
	}

	acronym{
	  border: 0;
	}

	/* ---------- inline tables ------------------- */

	table.inline {
	  font-size: 80%;
	  background-color: __background__;
	  border-spacing: 0px;
	  border-collapse: collapse;
	}

	table.inline th {
	  padding: 3px;
	  border: 1px solid #666;
	  border-bottom: 2px solid __text__;
	}

	table.inline td {
	  padding: 3px;
	  border: 1px solid #666;
	}

	.leftalign{
	  text-align: left;
	}

	.centeralign{
	  text-align: center;
	}

	.rightalign{
	  text-align: right;
	}

	.newPage {
		page-break-before: always;
	}

}

